//引入并初始化LeanCloud的SDK
const AV = require('../sdk/av-core-min.js');
const adapters = require('../sdk/leancloud-adapters-weapp.js');
import {BASE,ID,KEY} from '../config/index'
AV.setAdapters(adapters);
AV.init({
    appId: ID,
    appKey: KEY,
    serverURL: BASE
});